﻿using System;

namespace SmartFront.Toolkit.ActionFramework
{
    /// <summary>
    /// Operation Parameter
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
    public sealed class OperationParameterInfoAttribute : Attribute
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="OperationParameterInfoAttribute"/> class.
        /// </summary>
        /// <param name="order">The order.</param>
        public OperationParameterInfoAttribute(int order)
        {
            this.Order = order;
        }

        /// <summary>
        /// Gets or sets the order.
        /// </summary>
        /// <value>The order.</value>
        public int Order { get; private set; }
    }
}